package com.huahua.api.entity.param;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Huahua-Ai
 * @date 2025-01-10 14:45:00
 * @description 创建TTS任务请求参数
 */
@Data
public class TtsCreateParam implements Serializable {

    private String textContent;
    private String prompt;
    private BigDecimal temperature = new BigDecimal("0.3");
    private BigDecimal topP = new BigDecimal("0.7");
    private Integer topK = 20;
    private Integer refineMaxNewToken = 384;
    private Integer inferMaxNewToken = 2048;
    private Boolean skipRefine = false;
    private String customVoice;
}
